import Http from "../http"

export function loginApi(params:{[key:string]:any}) {
    return Http.post('login', params)
}

export function refreshLoginApi(token:string) {
  return Http.post('login/refresh', { token })
}